package com.liu.community.server;/*
 *@Author:Liu Xing-zhi
 *Description:
 *Date:Crated in 16:45 2021/10/4
 */

import com.liu.community.pojor.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface UserService {
    public List<User> queryUser();

    public  void insert(User user);

    public  User queryUserByToken(String token);

    public  User  queryUserById(Integer  id);

    public  User  queryUserByAccountId(String accountId);

    public  void createOrUpdateUser(User user);

}
